package com.intellagric.service.traceability.trace_record_table;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.traceability.CheckRecordVo;
import com.intellagric.pojo.TraceRecordCheck;
import com.intellagric.pojo.TraceTable;
import com.intellagric.pojo.TraceTableRows;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2019/2/21
 * @DESC： 表格列数据服务接口
 */
public interface TableRowsService {

    //增加检查记录
    ResponseMessage addTableRows(TraceTableRows tableRows);

    //删除检查记录
    ResponseMessage deleteTableRows(String id);

    //修改检查记录
    ResponseMessage editTableRows(TraceTableRows tableRows);

    //查询检查记录
    LayuiDataGridResult getTableRowsBytableId(String tableId);
    LayuiDataGridResult getTablesRowsList();
    LayuiDataGridResult getTableRowsPage(int page, int rows);
    LayuiDataGridResult getTableRowsPageByVo(int page, int rows, TraceTableRows tableRows);

}
